﻿using System;
using System.Linq;
using System.Linq.Expressions;

namespace ASPItalia.ModelVirtualCasting.Common
{
    public interface IReadOnlyRepository<K, T>
    {
        IQueryable<T> GetAll();
        IQueryable<T> Where(Expression<Func<T, bool>> predicate);
        long Count(Expression<Func<T, bool>> predicate);
        K Include(params string[] path);
				K EnableLazyLoading();
				K DisableLazyLoading();
		}
}